﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Login.ascx.cs" Inherits="TrangSucShop.usercontrol.Login" %>
<style type="text/css">
    .style1
    {
        height: 23px;
    }
</style>
<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
<asp:View ID="DangNhap" runat="server">
<table style="width:100%;">
    <tr>
        <td colspan="2" class="style1">
            <div class="title"><span class="title_icon">
                <img src="images/Profile.ico" alt="" 
                    title="" height="20" width="20" /></span>Đăng Nhập</div> &nbsp;</td>
    </tr>
    <tr>
        <td colspan="2">
            <asp:Label ID="lbThongBao" runat="server" Font-Bold="True" Font-Italic="True" 
                ForeColor="Red"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            Tên Đăng Nhập:</td>
        <td>
            <asp:TextBox ID="txtUsername" runat="server" Width="100%"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            Mật Khẩu:</td>
        <td>
            <asp:TextBox ID="txtPassword" runat="server" Width="100%" TextMode="Password"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="../register.aspx">Đăng 
            ký</asp:HyperLink>
        </td>
        <td align="right">
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                Text="Đăng Nhập" CausesValidation="False" />
        </td>
    </tr>
</table>
</asp:View>
<asp:View ID="TaiKhoan" runat="server">
<table style="width:100%;">
    <tr>
        <td colspan="2">
            <div class="title"><span class="title_icon">
                <img src="images/Profile.ico" alt="" 
                    title="" height="20" width="20" /></span>Tài Khoản</div>&nbsp;</td>
    </tr>
    <tr>
        <td class="style1" colspan="2">
            Xin Chào : <asp:Label ID="lbTenKH" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <asp:HyperLink ID="HyperLink3" runat="server" 
                NavigateUrl="../user.aspx?cm=info">Thay đổi thông tin cá nhân</asp:HyperLink>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:HyperLink ID="HyperLink2" runat="server" 
                NavigateUrl="../user.aspx?cm=pass">Đổi Mật Khẩu</asp:HyperLink>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td align="right">
            <asp:Button ID="Button2" runat="server" Text="Đăng Xuất" 
                onclick="Button2_Click" CausesValidation="False" />
        </td>
    </tr>
</table>
</asp:View>
</asp:MultiView>

